package ru.ipo.dces.plugins.multivariateplugin;

import com.sun.java.swing.plaf.gtk.GTKLookAndFeel;
import ru.ipo.dces.debug.PluginBox;
import ru.ipo.problemsapi.ZipProblem;

import javax.swing.*;
import java.io.IOException;

public class MultivariatePluginExternalProblem {
    public static void main(String[] args) throws IOException, UnsupportedLookAndFeelException {
        UIManager.setLookAndFeel(new GTKLookAndFeel());

        PluginBox box = new PluginBox(
                MultivariatePlugin.class,
                new ZipProblem("Plugins/MultivariatePlugin/test/ZipProblem2.zip")
        );

        box.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        box.setVisible(true);
    }
}
